<include file="Public/newset-header" title="{$info.nickname}" />
<!-- <link rel="stylesheet" href="__STATIC__/css/line-icons.css">
<link href="__STATIC__/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__STATIC__/css/flexslider.css">
<link rel="stylesheet" href="__STATIC__/css/jquery.bxslider.css">
<link rel="stylesheet" href="__STATIC__/css/horizontal-parallax.css">-->
<link rel="stylesheet" href="__STATIC__/css/app.css">
<!-- CSS Theme -->
<link rel="stylesheet" href="__STATIC__/css/default.css" id="style_color">
<link rel="stylesheet" href="__STATIC__/css/page_log_reg_v1.css">
<link rel="stylesheet" href="__STATIC__/css/custom-sky-forms.css">
<link rel="stylesheet" href="__STATIC__/css/add.css">
<style>
    .reg-header{border: none;}
</style>
<body>
<!-- Modal -->
<div class="modal fade" id="adhocUDIDBox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">UDIDs</h4>
      </div>
      <div class="modal-body">
              </div>
    </div>
  </div>
</div>
<!--=== Content Part ===-->
<div class="container content">
    <!--<div class="row">-->

		<!--<div class="col-md-12 ">-->
			<!--<div class="row">-->
				<!--<div class="col-md-6 col-sm-6 col-xm-12">-->
					<!--<a class="btn-u" href="{:U('Index/myhebing',array('id'=>$info['id']))}"><i class="fa fa-cloud-upload"></i> 合并应用</a> &nbsp;&nbsp; </div>-->
				<!--<div class="col-md-4 col-md-offset-2 col-sm-6 col-xm-12">-->
					<!--</div>-->
				<!--</div>-->
				<!--<div class="margin-bottom-20"></div>-->
			<!--</div>-->
		<!--</div>-->

        <div class="col-md-12">
		<form class="reg-page sky-form" enctype="multipart/form-data" id="form" method="POST" action="{:U('index/updateinfo')}">
                <div class="douchebag_safari" style="left: -9999px; position: fixed; width: 1px;">

                </div>
                <div class="reg-header" style="float:none;margin:auto;">
                    <p>
                    <if condition="$info.zxlogo neq '' ">
                                 <img src="__IMG__{$info.zxlogo}" class="img-rounded" width="125" height="125" />
                            <else />
                                 <img src="../../../Public/icon/dafuapk.png" class="img-rounded" width="125" height="125" />
                            </if>


                    </p>
                    <input type="file" name="fileToUpload" id="fileToUpload" onChange="fileSelected();" style="display:none;">
                </div>
                <section>
					<div id="container" style="width:100%;height:300px;margin:30px auto"></div>
				</section>
				<hr>
<script type="text/javascript" src="__STATIC__/js/highcharts.js"></script>
<script type="text/javascript" src="__STATIC__/js/highcharts.js"></script>
<script type="text/javascript">
var chart = new Highcharts.Chart('container', {
    title: {
        text: '最近一周应用数据',
        x: 20
    },
    subtitle: {
        text: 'Source: www.91metal.com',
        x: 20,
        style:{display:"none"}
    },
    xAxis: {
        categories: [{$weekstr}]
    },
    yAxis: {
        	title: {
        		text: '数量',
        	  }
        	},
    tooltip: {
        shared: true,
        valueSuffix: '',
    },
    legend: {
        layout: 'vertical',
        align: 'right',
        verticalAlign: 'middle',
        borderWidth: 0
    },
    		credits:{
			text:"91metal.com",
			href:"http://www.91metal.com",
			position:{x:-250,y:-180},
			style:{"z-index":"999",display:"none"}
		},
		series: [{
			name: '安装量',
			data: [{$downstr}]
			},
			{
			name: '浏览量',
			data: [{$liulanstr}]
		}]
});

</script>		
				<!-- <section>
                    <label class="label">推广信息： </label>
                </section> -->
                <section>
                    <label class="label">下载地址：</label>
                    <label class="input">
                        <i class="icon-append fa fa-pencil"></i>
                        <input type="text" id="shorturl" name="shorturl" disabled value="http://{$_SERVER['SERVER_NAME']}/a/{$info.shorturl}">
                    </label>
                </section>
                <!--
                <section>
                    <label class="label">输入短网址 *</label>
                    <label class="input">
                        <span class="icon-prepend" style="color:#666; width:230px; left:1px; background-color:#eee; font-weight:normal;">http://dada123.idc.q6cc.com/</span>
                        <input type="text" id="shortcuturl" name="shortcuturl" style="padding-left:240px;" value="{$info.shortcuturl}" placeholder="请输入页面地址后缀">
                    </label>
                </section>

                <section>
                    <label class="label">安全密码(可不填)</label>
                    <label class="input">
                        <i class="icon-append fa fa-pencil"></i>
                        <input type="password" id="aqpassword" name="aqpassword" value="{$info.aqpassword}" placeholder="请输入安全密码">
                    </label>
                </section>
                <section>
                    <label class="label">介绍</label>
                    <label class="textarea textarea-resizable">
                        <textarea rows="6" placeholder="请输入介绍" name="beifen">{$info.beifen}</textarea>
                    </label>
                </section>
                    -->
                <hr>
                <div id="ed_loading" class="editableform-loading" style="display:none;"></div>
                <div class="row" style="display:none;">
                    <div class="col-md-6 col-xs-6 text-left">

                    </div>
                    <div class="col-md-6 col-xs-6 text-right">
                        <input type="hidden" name="id" value="{$info.id}" />
                        <button class="btn-u" type="submit" id="submitButton">保存信息</button>
                    </div>
                </div>
				</form>
        </div>
    </div>
</div>
<include file="Public/newset-footer" />